package lovo.practice_7_14.pojo;

import java.io.Serializable;

public class UserDO implements Serializable {
    private String account;
    private String pwd;
    private double balance;
    private String path;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public UserDO() {
    }

    public UserDO(String account, String pwd, double balance) {
        this.account = account;
        this.pwd = pwd;
        this.balance = balance;

    }

    public UserDO(String account, String pwd, double balance, String path) {
        this.account = account;
        this.pwd = pwd;
        this.balance = balance;
        this.path = path;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public double getBalance() {
        return balance;
    }

    @Override
    public String toString() {
        return  account  +"  "+ pwd + "  "+ balance ;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}
